package com.fita.wechat.service;

import java.util.List;
import java.util.Map;

import com.demo2do.core.entity.page.Page;
import com.fita.entity.data.Location;
import com.fita.wechat.entity.search.CarLocationSearch;

public interface LocationService {
    
    /**
     * 
     * @return
     */
    public List<Location> listAll();
    
    /**
     * 
     * @param country
     * @param cityName
     * @param supplier
     * @return
     */
    public List<Location> list(String country, String cityName, String supplier);
    
    /**
     * 
     * @param locationId
     * @return
     */
    public Location load(Long locationId);

	/**
	 * @param search
	 * @param page
	 * @return
	 */
	public List<Map<String, Object>> search(CarLocationSearch search, Page page);

	/**
	 * 查询热门
	 * @param brand 品牌
	 * @param country 国家
	 * @return
	 */
	public Map<String, List<Map<String, Object>>> searchHotLocation(String country, String brand);

	/**
	 * @param locationId
	 * @return
	 */
	public Map<String, String> listWorkingHours(Long locationId);

}
